import request from '@/utils/request'

/* section */
/* 获取列表 */
export function fetchSectionList() {
  return request({
    url: '/vue-element-admin/section/list',
    method: 'get'
  })
}

/* 创建 */
export function updateSectionList(data) {
  return request({
    url: '/vue-element-admin/section/update',
    method: 'post',
    data
  })
}